object Form1: TForm1
  Left = 0
  Top = 0
  BorderStyle = bsDialog
  Caption = 'Form1'
  ClientHeight = 376
  ClientWidth = 595
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  Position = poDesktopCenter
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel
    Left = 28
    Top = 11
    Width = 51
    Height = 13
    Caption = 'Valor Total'
  end
  object Label2: TLabel
    Left = 37
    Top = 38
    Width = 42
    Height = 13
    Caption = 'Entrada:'
  end
  object Label3: TLabel
    Left = 35
    Top = 65
    Width = 44
    Height = 13
    Caption = 'Parcelas:'
  end
  object Label4: TLabel
    Left = 10
    Top = 92
    Width = 68
    Height = 13
    Caption = 'Juros Efetivos'
  end
  object Label5: TLabel
    Left = 66
    Top = 119
    Width = 13
    Height = 13
    Caption = 'TR'
  end
  object LbTotPrestacao: TLabel
    Left = 496
    Top = 353
    Width = 38
    Height = 13
    Caption = 'R$ 0,00'
  end
  object EdtTotal: TEdit
    Left = 85
    Top = 8
    Width = 121
    Height = 21
    TabOrder = 0
    Text = '55000'
  end
  object EdtEntrada: TEdit
    Left = 85
    Top = 35
    Width = 121
    Height = 21
    TabOrder = 1
    Text = '20000'
  end
  object EdtParcelas: TEdit
    Left = 85
    Top = 62
    Width = 121
    Height = 21
    TabOrder = 2
    Text = '120'
  end
  object EdtJuro: TEdit
    Left = 85
    Top = 89
    Width = 121
    Height = 21
    TabOrder = 3
    Text = '4,5940'
  end
  object Caclular: TButton
    Left = 85
    Top = 143
    Width = 75
    Height = 25
    Caption = 'Calcular'
    TabOrder = 4
    OnClick = CaclularClick
  end
  object DBGrid1: TDBGrid
    Left = 212
    Top = 8
    Width = 369
    Height = 339
    DataSource = DataSource1
    Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
    TabOrder = 5
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'Tahoma'
    TitleFont.Style = []
    Columns = <
      item
        Expanded = False
        FieldName = 'Parcela'
        Width = 39
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'SaldoDevido'
        Title.Alignment = taCenter
        Width = 74
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'Amortizacao'
        Title.Alignment = taCenter
        Width = 75
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'Juros'
        Title.Alignment = taCenter
        Width = 70
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'Prestacao'
        Title.Alignment = taCenter
        Visible = True
      end>
  end
  object EdtTR: TEdit
    Left = 85
    Top = 116
    Width = 121
    Height = 21
    TabOrder = 6
    Text = '1,7509'
  end
  object Cds: TClientDataSet
    Aggregates = <>
    AggregatesActive = True
    Params = <>
    Left = 88
    Top = 184
    object CdsParcela: TIntegerField
      FieldName = 'Parcela'
    end
    object CdsSaldoDevido: TCurrencyField
      FieldName = 'SaldoDevido'
    end
    object CdsAmortizacao: TCurrencyField
      FieldName = 'Amortizacao'
    end
    object CdsJuros: TCurrencyField
      FieldName = 'Juros'
    end
    object CdsPrestacao: TCurrencyField
      FieldName = 'Prestacao'
    end
    object CdsTotPrestacao: TAggregateField
      FieldName = 'TotPrestacao'
      Active = True
      Expression = 'SUM(Prestacao)'
    end
  end
  object DataSource1: TDataSource
    DataSet = Cds
    Left = 120
    Top = 184
  end
end
